//
//  gushixiangqingUser.m
//  qulvyou
//
//  Created by mmyy on 15/10/23.
//  Copyright (c) 2015年 mmyy. All rights reserved.
//

#import "gushixiangqingUser.h"

@implementation gushixiangqingUser
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([value isKindOfClass:[NSDictionary class]]) {
        self.avatar_l = [value objectForKey:@"avatar_l"];
        self.name = [value objectForKey:@"name"];
        self.uid = [value objectForKey:@"id"];
    }
}
-(id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+(instancetype)gushixiangqingUserWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
    
}

@end
